.class public Les/in;
.super Les/hn;
.source "FavoriteGroup.java"


# instance fields
.field protected h:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .locals 2

    const v0, 0x7f08099d

    const/4 v1, 0x0

    .line 1
    invoke-direct {p0, v0, v1}, Les/hn;-><init>(II)V

    .line 2
    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    iput-object v0, p0, Les/in;->h:Ljava/util/List;

    return-void
.end method


# virtual methods
.method public a()V
    .locals 8

    .line 1
    iget-object v0, p0, Les/in;->h:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 2
    iget-object v0, p0, Les/in;->h:Ljava/util/List;

    invoke-static {}, Lcom/estrongs/android/pop/utils/v;->a()Ljava/util/ArrayList;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 3
    sget-object v0, Lcom/estrongs/android/pop/b;->d:Ljava/lang/String;

    iget-object v1, p0, Les/in;->h:Ljava/util/List;

    const/4 v2, 0x0

    invoke-static {v0, v2, v1}, Lcom/estrongs/android/util/m0;->a(Ljava/lang/String;ZLjava/util/List;)V

    .line 4
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Application;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    .line 5
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Les/gn;->c:Ljava/util/List;

    .line 6
    new-instance v1, Les/nm;

    const v3, 0x7f110029

    .line 7
    invoke-virtual {v0, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    const v3, 0x7f08092f

    invoke-direct {v1, v3, v0}, Les/nm;-><init>(ILjava/lang/String;)V

    .line 8
    invoke-virtual {p0, v1}, Les/hn;->a(Les/pm;)V

    .line 9
    :goto_0
    iget-object v0, p0, Les/in;->h:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v2, v0, :cond_7

    .line 10
    iget-object v0, p0, Les/in;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;

    .line 11
    iget-object v1, v0, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->targetLocation:Ljava/lang/String;

    const-string v3, "virtualKey"

    .line 12
    invoke-virtual {v0, v3}, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->getAttribute(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x1

    if-eqz v3, :cond_0

    .line 13
    invoke-static {v3, v1}, Lcom/estrongs/android/pop/utils/v;->a(Ljava/lang/String;Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    goto/16 :goto_2

    .line 14
    :cond_0
    iget-object v1, v0, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->targetLocation:Ljava/lang/String;

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 15
    iget-object v1, v0, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->targetLocation:Ljava/lang/String;

    invoke-static {v1}, Lcom/estrongs/fs/impl/local/f;->f(Ljava/lang/String;)Lcom/estrongs/fs/impl/local/d;

    move-result-object v1

    .line 16
    invoke-static {v1}, Les/rj;->c(Lcom/estrongs/fs/g;)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    .line 17
    invoke-interface {v1}, Lcom/estrongs/fs/g;->i()Lcom/estrongs/fs/l;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/fs/l;->b()Z

    move-result v1

    move-object v7, v4

    move v4, v1

    move-object v1, v7

    goto :goto_2

    .line 18
    :cond_1
    iget-object v1, v0, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->targetLocation:Ljava/lang/String;

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->s1(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 19
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    const v5, 0x7f08093f

    .line 20
    invoke-virtual {v1, v5}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    goto :goto_2

    .line 21
    :cond_2
    iget-object v1, v0, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->targetLocation:Ljava/lang/String;

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->N1(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 22
    sget-object v1, Lcom/estrongs/fs/l;->F:Lcom/estrongs/fs/l;

    invoke-virtual {v1}, Lcom/estrongs/fs/l;->a()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Les/rj;->b(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    goto :goto_2

    .line 23
    :cond_3
    iget-object v1, v0, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->targetLocation:Ljava/lang/String;

    const-string v5, "/"

    invoke-virtual {v1, v5}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_6

    .line 24
    iget-object v1, v0, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->targetLocation:Ljava/lang/String;

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->M1(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_5

    iget-object v1, v0, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->targetLocation:Ljava/lang/String;

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->B2(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_4

    goto :goto_1

    .line 25
    :cond_4
    sget-object v1, Lcom/estrongs/fs/l;->E:Lcom/estrongs/fs/l;

    invoke-virtual {v1}, Lcom/estrongs/fs/l;->a()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Les/rj;->b(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    goto :goto_2

    .line 26
    :cond_5
    :goto_1
    sget-object v1, Lcom/estrongs/fs/l;->F:Lcom/estrongs/fs/l;

    invoke-virtual {v1}, Lcom/estrongs/fs/l;->a()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Les/rj;->b(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    goto :goto_2

    .line 27
    :cond_6
    iget-object v1, v0, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->targetLocation:Ljava/lang/String;

    .line 28
    invoke-static {v1}, Lcom/estrongs/android/util/n0;->b(Ljava/lang/String;)I

    move-result v1

    .line 29
    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Les/rj;->b(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    .line 30
    :goto_2
    new-instance v5, Les/qm;

    iget-object v6, v0, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->shortcutName:Ljava/lang/String;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/shortcut/ShortcutFormat;->targetLocation:Ljava/lang/String;

    invoke-direct {v5, v1, v6, v0}, Les/qm;-><init>(Landroid/graphics/drawable/Drawable;Ljava/lang/String;Ljava/lang/String;)V

    .line 31
    invoke-virtual {v5, v4}, Les/qm;->b(Z)V

    .line 32
    invoke-virtual {v5, v3}, Les/qm;->a(Ljava/lang/String;)V

    .line 33
    invoke-virtual {p0, v5}, Les/hn;->a(Les/pm;)V

    add-int/lit8 v2, v2, 0x1

    goto/16 :goto_0

    :cond_7
    return-void
.end method

.method public e()Ljava/lang/String;
    .locals 1

    const-string v0, "Favorite"

    return-object v0
.end method
